home *** CD-ROM | disk | FTP | other *** search
/ IBM InfoROM for OS/2 Beta 1995 January / IBM InfoROM for OS2 Beta 1-1995.ISO / testcert / storage / function / scsi / add / lckmed.scr < prev    next >
Encoding:
Text File  |  1994-08-08  |  537 b   |  27 lines

  1. * LOCKS THE MEDIA - disables the removal of the
  2. * media in the logical unit.
  3.  
  4. @THREAD LCKMED.LOG
  5. @NEWALIAS SADD SCSIADD.GRA
  6. @IMPORT SCSICOM.SCR
  7. SADD DD_OPEN
  8.  
  9. * 0=Async mode, 1=Sync mode
  10. SADD SET MODE=1
  11.  
  12. * Name for paramblock
  13. SADD SET LABEL = "LOCK MEDIA"
  14.  
  15. * Command completion timeout (Secs)
  16. * 0=the assigned value is the default set by the driver,
  17. * -1=the assigned value is infinite.
  18. SADD SET TIMEOUT=0 
  19.  
  20. * LOCK = 1(lock media)  0(unlock media)
  21. SADD SET LOCK_UNLOCK=1
  22.  
  23. SADD LOCK_UNLOCK_MEDIA
  24.  
  25. SADD DD_CLOSE
  26.  
  27.